<?php

    if (!empty($_SESSION['login'])&&!empty($_SESSION['email'])){

?>
        <?php $db = new Mypdo(); ?>
<h1>Accueil de Gestion</h1>

<?php
    }else{

       header('Location: index.php?page=9');
    }